package com.powerunion.datacollection.dao;

import java.sql.Connection;

import net.sf.json.JSONArray;

import com.powerunion.datacollection.model.ItemCategory;

public interface ItemCategoryDao {

	public boolean delete(String[] codes) throws DaoException;
	public String save(ItemCategory ic,int itemType) throws DaoException;
	public ItemCategory getBykey(String id) throws DaoException;
	public JSONArray getTree(String paraSeq, int categoryType,String userCode,int permissionType) throws Exception;
}
